package com.xtravel.discovery.viewholder;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import com.lidroid.xutils.BitmapUtils;

public abstract class BaseViewHolder<T>{
    protected LayoutInflater layoutInflater;
    protected Context context;
    protected BitmapUtils bitmapUtils;

    protected BaseViewHolder(Context context, BitmapUtils bitmapUtils, LayoutInflater layoutInflater)
    {
        this.context = context;
        this.bitmapUtils = bitmapUtils;
        this.layoutInflater = layoutInflater;
    }

    public abstract View getView();
    public abstract void setValue(T object);
}
